
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-gouwuche"></i>
                    <div class="name">购物车</div>
                    <div class="fontclass">.icon-gouwuche</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-facebook"></i>
                    <div class="name">facebook</div>
                    <div class="fontclass">.icon-facebook</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weixin"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-weixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qq"></i>
                    <div class="name">QQ</div>
                    <div class="fontclass">.icon-qq</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">phone</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yan"></i>
                    <div class="name">眼</div>
                    <div class="fontclass">.icon-yan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-msnui-email"></i>
                    <div class="name">邮件</div>
                    <div class="fontclass">.icon-msnui-email</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-point"></i>
                    <div class="name">点</div>
                    <div class="fontclass">.icon-point</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youtube"></i>
                    <div class="name">youtube</div>
                    <div class="fontclass">.icon-youtube</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gps"></i>
                    <div class="name">gps</div>
                    <div class="fontclass">.icon-gps</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhuajianpantianchong"></i>
                    <div class="name">电话键盘_填充</div>
                    <div class="fontclass">.icon-dianhuajianpantianchong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone2"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-phone2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dizhi"></i>
                    <div class="name">地址</div>
                    <div class="fontclass">.icon-dizhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">fangdajing</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-star"></i>
                    <div class="name">五角星</div>
                    <div class="fontclass">.icon-star</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xinfeng"></i>
                    <div class="name">信封</div>
                    <div class="fontclass">.icon-xinfeng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-message"></i>
                    <div class="name">message</div>
                    <div class="fontclass">.icon-message</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-linkedin"></i>
                    <div class="name">linkedin</div>
                    <div class="fontclass">.icon-linkedin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-instagram"></i>
                    <div class="name">Instagram</div>
                    <div class="fontclass">.icon-instagram</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-erweima"></i>
                    <div class="name">二维码</div>
                    <div class="fontclass">.icon-erweima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gotop2"></i>
                    <div class="name">TOP</div>
                    <div class="fontclass">.icon-gotop2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-telephone5"></i>
                    <div class="name">telephone5</div>
                    <div class="fontclass">.icon-telephone5</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wangwang"></i>
                    <div class="name">旺旺</div>
                    <div class="fontclass">.icon-wangwang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouji"></i>
                    <div class="name">手机</div>
                    <div class="fontclass">.icon-shouji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-rili"></i>
                    <div class="name">日历</div>
                    <div class="fontclass">.icon-rili</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youjian"></i>
                    <div class="name">邮件</div>
                    <div class="fontclass">.icon-youjian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-homebig"></i>
                    <div class="name">home-big</div>
                    <div class="fontclass">.icon-homebig</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiantouyou"></i>
                    <div class="name">箭头右</div>
                    <div class="fontclass">.icon-jiantouyou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-next"></i>
                    <div class="name">下一首</div>
                    <div class="fontclass">.icon-next</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaoxi003"></i>
                    <div class="name">消息003</div>
                    <div class="fontclass">.icon-xiaoxi003</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gotop"></i>
                    <div class="name">返回顶部</div>
                    <div class="fontclass">.icon-gotop</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fangdajing"></i>
                    <div class="name">放大镜</div>
                    <div class="fontclass">.icon-fangdajing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dingwei"></i>
                    <div class="name">定位</div>
                    <div class="fontclass">.icon-dingwei</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ie"></i>
                    <div class="name">IE</div>
                    <div class="fontclass">.icon-ie</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-skype"></i>
                    <div class="name">S</div>
                    <div class="fontclass">.icon-skype</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-whatsapp"></i>
                    <div class="name">whatsapp</div>
                    <div class="fontclass">.icon-whatsapp</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tuite"></i>
                    <div class="name">tuite</div>
                    <div class="fontclass">.icon-tuite</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gouwuche1"></i>
                    <div class="name">购物车</div>
                    <div class="fontclass">.icon-gouwuche1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chuanzhen"></i>
                    <div class="name">传真</div>
                    <div class="fontclass">.icon-chuanzhen</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tubiaozhizuomoban"></i>
                    <div class="name">下载</div>
                    <div class="fontclass">.icon-tubiaozhizuomoban</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-whatsapp1"></i>
                    <div class="name">whatsapp</div>
                    <div class="fontclass">.icon-whatsapp1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youtube1"></i>
                    <div class="name">youtube</div>
                    <div class="fontclass">.icon-youtube1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-google"></i>
                    <div class="name">谷歌</div>
                    <div class="fontclass">.icon-google</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fax1"></i>
                    <div class="name">传真</div>
                    <div class="fontclass">.icon-fax1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left"></i>
                    <div class="name">箭头</div>
                    <div class="fontclass">.icon-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-diqiu"></i>
                    <div class="name">地球</div>
                    <div class="fontclass">.icon-diqiu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus"></i>
                    <div class="name">加号</div>
                    <div class="fontclass">.icon-plus</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xinfeng1"></i>
                    <div class="name">信封</div>
                    <div class="fontclass">.icon-xinfeng1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-message1"></i>
                    <div class="name">message</div>
                    <div class="fontclass">.icon-message1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search1"></i>
                    <div class="name">搜索</div>
                    <div class="fontclass">.icon-search1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gotop1"></i>
                    <div class="name">顶部</div>
                    <div class="fontclass">.icon-gotop1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shubiao"></i>
                    <div class="name">鼠标</div>
                    <div class="fontclass">.icon-shubiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fax"></i>
                    <div class="name">传真</div>
                    <div class="fontclass">.icon-fax</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-prev"></i>
                    <div class="name">下一首</div>
                    <div class="fontclass">.icon-prev</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right"></i>
                    <div class="name">箭头</div>
                    <div class="fontclass">.icon-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-news-r"></i>
                    <div class="name">箭头</div>
                    <div class="fontclass">.icon-news-r</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cart"></i>
                    <div class="name">购物车空</div>
                    <div class="fontclass">.icon-cart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chahao"></i>
                    <div class="name">差号</div>
                    <div class="fontclass">.icon-chahao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-down"></i>
                    <div class="name">下箭头</div>
                    <div class="fontclass">.icon-arrow-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youjiantou1"></i>
                    <div class="name">右箭头</div>
                    <div class="fontclass">.icon-youjiantou1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-google1"></i>
                    <div class="name">谷歌</div>
                    <div class="fontclass">.icon-google1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-right"></i>
                    <div class="name">下箭头</div>
                    <div class="fontclass">.icon-arrow-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-news-l"></i>
                    <div class="name">箭头</div>
                    <div class="fontclass">.icon-news-l</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-left"></i>
                    <div class="name">下箭头</div>
                    <div class="fontclass">.icon-arrow-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youjiantou"></i>
                    <div class="name">下箭头</div>
                    <div class="fontclass">.icon-youjiantou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liuyan"></i>
                    <div class="name">留言</div>
                    <div class="fontclass">.icon-liuyan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zoujiantou1"></i>
                    <div class="name">右箭头</div>
                    <div class="fontclass">.icon-zoujiantou1</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
